package com.tpp.threat_perception_platform.dao;

import com.tpp.threat_perception_platform.param.MyParam;
import com.tpp.threat_perception_platform.pojo.Process;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 吴四煜
* @description 针对表【process】的数据库操作Mapper
* @createDate 2025-06-10 18:44:14
* @Entity com.tpp.threat_perception_platform.pojo.Process
*/
public interface ProcessMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Process record);

    int insertSelective(Process record);

    Process selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Process record);

    int updateByPrimaryKey(Process record);

    Process selectByMacAddress(String macAddress);

    List<Process> findAll(@Param("param") MyParam param);

    void deleteByMacAddress(String macAddress);

    int selectCount();
}
